package com.wf.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;


/**
 * 
 * @TableName feedback_info
 */
@TableName(value ="feedback_info",autoResultMap = true)
@Data
public class FeedbackInfo implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1645903248496037818L;
    /**
     * 反馈id
     */
    @TableId(type = IdType.AUTO)
    private Integer feedbackId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 反馈类型
     */
    private String feedbackType;

    /**
     * 反馈内容
     */
    private String feedbackContent;

    /**
     * 反馈图片
     */
    @TableField(typeHandler = JacksonTypeHandler.class)
    private List<String> feedbackImage;

    /**
     * 联系方式
     */
    private String contactPhone;


    /**
     * 创建日期
     */

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createDate;
    /**
     * 更新日期
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateDate;
    /**
     * 是否删除
     */
    @TableLogic
    private Integer isDelete;
}